package com.zhitong.money.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.UUID;


@Data
@AllArgsConstructor
public class PSalaryParam {
    /**
     * id
     */
    private String id;
    /**
     * 职位id
     */
    private String pid;
    /**
     * 基础工资
     */
    private double basicSalary;
    /**
     * 全勤奖
     */
    private double fullAttention;
    /**
     * 补贴
     */
    private double subsidy;
    /**
     * 岗位工资
     */
    private double positionSalary;
    /**
     * 加班工资
     */
    private double overtimeSalary;
    /**
     * 请假扣款
     */
    private double leaveDeduction;
    /**
     * 迟到扣款
     */
    private double lateDeduction;
    /**
     * 其他扣款
     */
    private double otherDeduction;

    /**
     *@Author: AndyZhang
     *@Description 随机获取32位id
     *@Date: 16:57 2021/1/20
     */
    public PSalaryParam() {
        this.id=UUID.randomUUID().toString().replaceAll("-","");
    }
}
